Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relay] Remove duplicated BindParamByName function in VM compiler #4793

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

masahi
Copy link
Member

@masahi masahi commented Jan 30, 2020

BindParamByName function is used by both graph codegen and vm, so far they are using duplicated, identical implementations.

On the graph codegen side, the function was pulled out of RelayBuildModule class and became a free function in #4751. I noticed that VM compiler is using the identical function, so I moved BindParamByName to backend/utils.h so that it can be used by VM as well.

please review @wweic @icemelon9 @jroesch

@masahi masahi changed the title Dedup BindParamByName function in VM compiler [Relay] Remove duplicated BindParamByName function in VM compiler Jan 30, 2020
Copy link
Contributor

@wweic wweic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. thanks!

@masahi masahi merged commit 10f85d0 into apache:master Jan 30, 2020
alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 26, 2020
alexwong pushed a commit to alexwong/tvm that referenced this pull request Feb 28, 2020
zhiics pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants